/**
 * Sencha GXT 3.1.1 - Sencha for GWT
 * Copyright(c) 2007-2014, Sencha, Inc.
 * licensing@sencha.com
 *
 * http://www.sencha.com/products/gxt/license/
 */
package com.sencha.gxt.data.shared;

/**
 * Aggregates sort field and sort direction.
 */
public interface SortInfo {

	/**
	 * Returns the sort direction.
	 *
	 * @return the sort direction
	 */
	SortDir getSortDir();

	/**
	 * Sets the sort direction.
	 *
	 * @param sortDir
	 *            the sort direction
	 */
	void setSortDir(SortDir sortDir);

	/**
	 * Returns the sort field.
	 *
	 * @return the sort field
	 */
	String getSortField();

	/**
	 * Sets the sort field.
	 *
	 * @param sortField
	 *            the sort field
	 */
	void setSortField(String sortField);
}
